EasiWriter and TechWriter can load and save documents as HTML files (HyperText Markup Language).
HTML is not a page description language; it is one column of continuous text with embedded graphics. The page proportions and line breaks depend on the size of the monitor or window in which the page is viewed. If an HTML file is loaded into EasiWriter it is formatted to fit within the page margins, which is likely to be different from how the same document is displayed by an HTML browser.
HTML documents can be created using the Stationery pad HTMLStyles, or from a normal EasiWriter document.
or
The document will be saved as HTML which can then be opened into a Browser or by EasiWriter itself.
There are a number of ways in which you can control the output of HTML generated by EasiWriter. These are documented in the section Advanced options.
The Header level tags <H1> - <H6> are determined by the level of the Chapter/Section.
If a document has Chapters and Sections the Chapter headings will be tagged <H1>, Section headings <H2>, first level Sub-sections <H3> etc. If the document only has Sections then the top level section will become <H1> and so on.
The Style names H1 - H6 in the HTMLStyles Stationery pad do not affect output levels but are used when importing HTML.
EasiWriter can split large HTML documents into smaller ones. Page links are automatically created as is a contents page. This can be useful for producing on-line documentation such as this document.
Document are split where ever there is a page break and a contents list is generated using the Chapter, Section and Subsection headings. These headings are automatically turned into Anchors and are linked to their titles in the contents page.
The contents of a header will be used as the document title when a document is saved as HTML.
<HEAD><TITLE>This text is in the document header</TITLE></HEAD>
EasiWriter will create a Table of contents page and a folder containing the individual pages. If there are any pictures (or equations - TechWriter) these will be converted into GIF's and put into an Images directory.
Note: If you have included your own anchors and links these will not work if the link points to a reference that has been moved to another page as part of the splitting process.
You will get a message such as 'The label label_name cannot be found on this page' or 'Tried to move to a non-existent label'.
Here are two ways of fixing an example HTML document where the document called Part00 contains:
<A HREF="#end_of_doc">Go to the end</A>
Which should link to an Anchor on the page called Part03
<A NAME="end_of_doc">end of doc</A>
HTML Edit (v 4.24 and later) from RComp has the ability to detect links whose anchors have moved to other pages.